#include<iostream>
#include<string>

using namespace std;

struct student
{
    string name;
    int age;
    int score;
}s3;
int main()
{
    student s1;
    s1.name="张三";
    s1.age=18;
    s1.score=100;
    cout<<"姓名："<<s1.name<<endl;
    cout<<"年龄："<<s1.age<<endl;
    cout<<"成绩："<<s1.score<<endl;

    struct student s2={"李四",19,99};
    cout<<"姓名："<<s2.name<<endl;
    cout<<"年龄："<<s2.age<<endl;
    cout<<"成绩："<<s2.score<<endl;
    
    s3={"王五",20,98};
    cout<<"姓名："<<s3.name<<endl;
    cout<<"年龄："<<s3.age<<endl;
    cout<<"成绩："<<s3.score<<endl;
    
    return 0;
    
}